Product: | ISaGRAF 4.03 |
Date: | 04-April-2000 |
File: | System Variables.htm |
Subject: | Listing standard system variables linked to a resource |
Keywords: | System Variables |
____________________________________________________________________
System variables are defined in dsys0def.h To Read or Write resource system variables, only the ST language can be used.
In the R/W column:
Variable name | TYPE | R/W | Meaning |
__SYSVA_RESNAME | STRING | R | Resource Name (Max len=255) |
__SYSVA_SCANCNT | DINT | R | Input Scan Counter |
__SYSVA_CYCLECNT | DINT | R | Cycle Counter |
__SYSVA_KVBPERR | BOOL | R/W | Kernel Variable Binding Producing Error |
__SYSVA_KVBCERR | BOOL | R/W | Kernel Variable Binding Consuming Error |
__SYSVA_TCYCYCTIME | TIME | R/W | Programmed Cycle Time |
__SYSVA_TCYCURRENT | TIME | R | Current Cycle Time |
__SYSVA_TCYMAXIMUM | TIME | R | Maximum Cycle Time Since Last Start |
__SYSVA_TCYOVERFLOW | DINT | R | Number Of Cycle Overflows |
__SYSVA_RESMODE | SINT | R | Resource Execution Mode |
__SYSVA_CCEXEC | BOOL | W | Execute one cycle when application is in cycle to cycle mode |
__SYSVA_WNGCMPTNM | STRING | R | Warning Component Name; |
__SYSVA_WNGCMD | SINT | R/W | Warning CMD; |
Caution for _SYSVA_CCEXEC!
It is not significant to use _SYSVA_CCEXEC in an ST program, because the resource is in cycle to cycle mode, programs are not executed.
Resource modes (for __SYSVA_RESMODE) are defined as follows:
____________________________________________________________________
Copyright © 1999-2009 ICS Triplex ISaGRAF Inc. All rights reserved.